cmake_minimum_required(VERSION 3.12)

project(Graphic)

set(CMAKE_CXX_STANDARD 17)

file(GLOB copyResources "./assets")
file(COPY ${copyResources} DESTINATION ${CMAKE_BINARY_DIR})

add_subdirectory(application)
add_subdirectory(gpu)

add_executable(softRenderer "main.cpp" "math/math.h" "math/vector.h" "math/mathFunctions.h")

target_link_libraries(softRenderer applicationLib gpuLib)